/*
目的：测试手机相关类及方法
作者：胡靖
时间：20200830
*/
package Question3;

import java.math.BigDecimal;

public class Test {

    public static void main(String[] args) {

        CallServer cs = new CallPackage();
        InternetServer is = new InternetPackage();

        cs.callServer(100,TypeEnum.BIGCARD);
        is.InternetServer(300,TypeEnum.SMALLCARD);

        System.out.println("----------------------------------");
        Package call = new CallPackage(100,50,35);
        Package Internet = new InternetPackage(300,55);

        call.show();
        Internet.show();
        System.out.println("----------------------------------");
        //打印卡片信息
        Card card = new Card(TypeEnum.MINICARD,
                "18627171206","hujing","Lagou8888",
                100.3,100,300);
        card.showCardInfo();

    }


}
